﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NerdDinner.Models.Dinner>" %>
<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">
    Dinner:
    <%:Model.Title%>
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">




       <div id="mapDiv" style="float: right">
        <%
            Html.RenderPartial("map");%>
    </div>
   <div id="dinnerDiv" style=" height:400px;">
    <h2>
        <%:Model.Title%></h2>
    <p>
        <strong>When:</strong>
        <%:Model.EventDate.ToShortDateString()%>
        <strong>@</strong>
        <%:Model.EventDate.ToShortTimeString()%>
    </p>
    <p>
        <strong>Where:</strong>
        <%:Model.Address%>,
        <%:Model.Country%>
    </p>
    <p>
        <strong>Description:</strong>
        <%:Model.Description%>
    </p>
    <p>
        <strong>Organizer:</strong>
        <%:Model.HostedBy%>
        (<%:Model.ContactPhone%>)
    </p>
    <%
            Html.RenderPartial("RSVPStatus");%>
    <%
            Html.RenderPartial("EditAndDeleteLinks");%>
    </div>


</asp:Content>
